/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ru.ssau.model.storing.factories;

import ru.ssau.model.storing.ForumDataAccessObject;
import ru.ssau.model.storing.ForumMapDAO;

/**
 *
 * @author Дима
 */
public class ForumMapDAOFactory extends ForumDAOFactory {

    private ForumDataAccessObject mapDAO = null;

    @Override
    public ForumDataAccessObject getDAO() {
        if(mapDAO == null) {
            mapDAO = new ForumMapDAO();
        }
        return mapDAO;
    }

}
